package de.martingruner.android.droidultistats;

import android.app.Activity;
import android.os.Bundle;
import android.view.*;
import android.widget.*;
import java.util.*;

public class droidultistasmain extends Activity implements View.OnClickListener{
	public String versionNr;
	Button btn;

	/** Called when the activity is first created. */
	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.main);
		btn=(Button)findViewById(R.id.button);
		btn.setOnClickListener(this);
		updateTime();
		
	}
	public void onClick (View view){
		updateTime();
	}
	private void updateTime(){
		btn.setText(new Date().toString());
	}
}